package org.votes.test;

import javax.persistence.Entity;
import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

@Entity
public class DataGenerator {

	public static void main(String[] args) {
		
		Configuration cfg = new Configuration().configure("resource/hibernate.cfg.xml");
		SchemaExport export = new SchemaExport(cfg);
		export.create(true, true);
		
		
		
	}
	
}
